package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author wbzs,
 * @date 2022/10/20,
 * @time 16:01,
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients//开启openfeign的支持，会自动创建所有openfeign接口的dai'l
@EnableCircuitBreaker//开启断路器
public class EurekaStarer08 {

    public static void main(String[] args) {
        SpringApplication.run(EurekaStarer08.class, args);
    }

}
